import React, { Component } from "react"
import EnterAmount from "./views/enterAmount" //输入金额
import BindBankCard from "./views/bindBankCard" // 绑定银行卡

interface Props {}
interface State {}

export class Recharge extends Component<Props, State> {
  state = {
    // 是否绑定了银行卡
    whetherBinding: true
  }

  render() {
    return <div>{this.state.whetherBinding ? <EnterAmount /> : <BindBankCard />}</div>
  }
}
